﻿using com.iot.core.annotation;
using com.iot.core.data;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Linq;

namespace com.iot.ht.Controllers.htsoft.data
{
    [Schema(Name = "监控日志表", Description = "")]     
    public class HtSoftLog : BaseEntity
    {


        [Comment("HostId")]
        [Schema(Name = "HostId", Description = "")]
        [Required(ErrorMessage = "{0}不能为空")]
        [MaxLength(50)]
        public string HostId { get; set; } = "";


        [Comment("HtsoftappId")]
        [Schema(Name = "HostId", Description = "")] 
        public long HtsoftappId { get; set; }  


        [Comment("名称")]
        [Schema(Name = "名称", Description = "")]
        [Required(ErrorMessage = "{0}不能为空")]
        [MaxLength(50)]
        public string HtsoftappName { get; set; } = "";


        [Comment("时间")]
        [Schema(Name = "时间", Description = "")] 
        public DateTime CrtDt { get; set; }  


         


        [Comment("消息")]
        [Schema(Name = "消息", Description = "")] 
        public string Msg { get; set; } = "";//


         
    }
}
